const app = {
  state: {
    msg: [0, 0, 0]
  },
  mutations: {
    UPDATA_MSG: (state, val) => {
      state.msg = val;
    }
  },
  actions: {
    updateMsg({ commit }, val) {
      commit('UPDATA_MSG', val)
    }
  }
}

export default app
